package com.competition.web.admin.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.competition.web.entity.UmsMenu;
import com.competition.web.entity.UmsMenuExample;
import com.dao.base.IBaseMapper;

public interface UmsMenuMapper extends IBaseMapper<UmsMenu> {
    long countByExample(UmsMenuExample example);

    int deleteByExample(UmsMenuExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UmsMenu record);

    int insertSelective(UmsMenu record);

    List<UmsMenu> selectByExample(UmsMenuExample example);

    UmsMenu selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UmsMenu record, @Param("example") UmsMenuExample example);

    int updateByExample(@Param("record") UmsMenu record, @Param("example") UmsMenuExample example);

    int updateByPrimaryKeySelective(UmsMenu record);

    int updateByPrimaryKey(UmsMenu record);
}